package com.copa.module.goods.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.copa.domain.ResponseDto;
import com.copa.module.goods.domain.dto.GoodsDto;
import com.copa.module.goods.domain.entity.GoodsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.copa.module.goods.domain.vo.GoodsAddVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author copa
 * @createDate 2021-01-07
 * @function t_goods表 Mapper 接口
 */
@Mapper
public interface GoodsDao extends BaseMapper<GoodsEntity> {

    IPage<GoodsDto> selectGoodsListPage(@Param("page") IPage<GoodsDto> page, @Param("goodsName") String goodsName);
}
